package com.entrogy.bean;

/**  职位
 * @Author 许红松
 * @date 2019/6/28 0028 下午 5:52
 */
public class PositionEntity {
    private  int  id;//id
    private  Integer sid;//sid
    private  int did;//部门id
    private  String  positionName;//职位名称
    private  String  content;//职位描述
    private  int  rank;//等级
    private  int school_code;//学校

    private  String departmentName;//部门名称

    private Integer gradeId;

    private Integer classId;

    private String gradeName;

    private String className;

    // 该职位能选择快捷发送的教师范围
    private String messageSendTeacher;

    // 该职位是否能发送给家长
    private String messageSendParent;

    public String getMessageSendTeacher() {
        return messageSendTeacher;
    }

    public void setMessageSendTeacher(String messageSendTeacher) {
        this.messageSendTeacher = messageSendTeacher;
    }

    public String getMessageSendParent() {
        return messageSendParent;
    }

    public void setMessageSendParent(String messageSendParent) {
        this.messageSendParent = messageSendParent;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSchool_code() {
        return school_code;
    }

    public void setSchool_code(int school_code) {
        this.school_code = school_code;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    @Override
    public boolean equals(Object obj) {
        PositionEntity positionEntity = (PositionEntity)obj;
        return this.getSid().equals(positionEntity.getSid());
    }

    @Override
    public int hashCode() {
        return this.sid.hashCode();
    }
}
